
<form id="form_add">
<table>
	<tr>
		<td width="20%" align="right">负责人：</td>
		<td width="30%"><input type="text" name="emp" id="emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" size="12" title="{[$t.emp_|emp:'负责人']}"> <input
			type="checkbox" name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" checked> 自己</td>
		<td width="20%" align="right">日期：</td>
		<td width="30%"><input type="text" name="date" id="date" value="{[$smarty.now|date_format:'%Y-%m-%d']}" size="12"></td>
	</tr>
	<tr>
		<td align="right">机台：</td>
		<td><input type="text" name="machine" id="machine" size="16" value=""></td>
		<td align="right">班次：</td>
		<td><select name='shift'>
			{[html_options options=$shift_option selected=1]}
		</select></td>
	</tr>
	<tr>
		<td align="right">产品：</td>
		<td colspan="3"><input type="text" name="mold" id="mold" size="16" value="" title="{[$t.mold]}"></td>
	</tr>
	<tr>
		<td align="right">标准产能：</td>
		<td><input type="text" name="output" size="12" value=""></td>
		<td align="right">实际产能：</td>
		<td><input type="text" name="quantity" size="12" value=""></td>
	</tr>
	<tr>
		<td align="right">事由：</td>
		<td colspan="3"><textarea rows="4" name="name" cols="55"></textarea></td>	
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="4" name="content" cols="55"></textarea></td>
	</tr>
	<tr>
		<td align="right">状态：</td>
		<td colspan="3"><select name='status'>
			{[html_options options=$status_option selected=2]}
		</select></td>
	</tr>
</table>
</form>

<script type="text/javascript"
	src="js/car/produce/add.js?r={[$smarty.now]}"></script>
